Conversation
This makes `pip install pgpdump` to install the `pgpdump` script into the user's $PATH (or `.local/bin/`) See https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/
|
Hi @toofishes is this repo still alive? |
|
Yes it is! I've been super busy with other projects though so have been neglecting pull requests here. I'll try and take a look at this sometime this week.
|
|
Totally understand! You can test locally by doing |
|
I'm against this change. This will conflict with the pgpdump from http://www.mew.org/~kazu/proj/pgpdump/en/ in /usr/bin. I maintain both packages in Fedora. |
|
Also, this is just a "parser library", I found no reason of having executable. |
|
@cicku Fair enough about conflicting namespace. I can't agree that it's just a library though - else why would it offer a |
|
My understanding of representing main in the code is for tests ONLY, pgpdump imports and execute tests without side effects. |
This makes
pip install pgpdumpto install thepgpdumpscriptinto the user's $PATH (or
.local/bin/)See
https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/